home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 18039 < prev    next >
Encoding:
Text File  |  1996-08-05  |  718 b   |  24 lines

  1. Path: bradford.ac.uk!strath-cs!jmccross
  2. From: jmccross@cs.strath.ac.uk (Joe McCrossan)
  3. Newsgroups: comp.lang.c++
  4. Subject: returning a pointer to a struct with a class function
  5. Date: 18 Apr 1996 16:40:11 GMT
  6. Organization: Computer Science Dept., Strathclyde University., Glasgow, Scotland.
  7. Sender: jmccross@cs.strath.ac.uk (Joseph McCrossan CSL93)
  8. Distribution: world
  9. Message-ID: <4l5r9c$25s@dunlop.cs.strath.ac.uk>
  10. NNTP-Posting-Host: muir-07.cs.strath.ac.uk
  11.  
  12. Does anyone know how to set up a function within a class to return a pointer to a
  13. struct ie
  14.  
  15.     struct tree_node *Rotate(char *, struct tree_node *);
  16.  
  17. as I can't seem to get it to work.  
  18.  
  19. Any help would be greatly appreciated - please e-mail me.
  20.  
  21. Thanks,
  22.  
  23. Joe
  24.